﻿<UserControl x:Class="SharpGym.Silverlight.Views.RegistroDiario.ViewRD"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" d:DesignHeight="300"
             d:DesignWidth="400">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>

        <TextBlock Text="{StaticResource OrdemText}" Style="{StaticResource TextBlockLabel}" Grid.Column="0"
                   Grid.Row="0" />
        <TextBlock Text="{Binding Ordem}" Style="{StaticResource TextBlockLabel}" Margin="5" Grid.Column="1"
                   Grid.Row="0" />

        <TextBlock Text="{StaticResource HorarioEntradaText}" Style="{StaticResource TextBlockLabel}" Grid.Column="0"
                   Grid.Row="1" />
        <TextBlock Text="{Binding StringFormat=\{0:HH:mm\}, Path=HoraEntrada}" Style="{StaticResource TextBlockLabel}"
                   Margin="5" Grid.Column="1" Grid.Row="1" />

        <TextBlock Text="{StaticResource HorarioSaidaText}" Style="{StaticResource TextBlockLabel}" Grid.Column="0"
                   Grid.Row="2" />
        <TextBlock Text="{Binding HoraSaida, StringFormat=\{0:HH:mm\}}" Style="{StaticResource TextBlockLabel}"
                   Margin="5" Grid.Column="1" Grid.Row="2" />

        <TextBlock Text="{StaticResource FCentradaText}" Style="{StaticResource TextBlockLabel}" Grid.Column="0"
                   Grid.Row="3" />
        <TextBlock Text="{Binding FCinicial, StringFormat=\{0:F1\}}" Style="{StaticResource TextBlockLabel}" Margin="5"
                   Grid.Column="1" Grid.Row="3" />

        <TextBlock Text="{StaticResource FCsaidaText}" Style="{StaticResource TextBlockLabel}" Grid.Column="0"
                   Grid.Row="4" />
        <TextBlock Text="{Binding StringFormat=\{0:F1\}, Path=FCfinal}" Style="{StaticResource TextBlockLabel}"
                   Margin="5" Grid.Column="1" Grid.Row="4" />
    </Grid>
</UserControl>